<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
<script src="./js/jquery.js" ></script>
<script>
  function ajax() {
	  var json1 = {"name":"tom", "age":18, "sex":true};
	  var json2 = {"students":["张三","李四","汤姆","杰瑞"]};
	  var json3 = {"student1":{"name":"张三", "age":18}, "student2":{"name":"李四","age":18}}
	  var json4 = {"student86":[{"name":"tom","age":18},{"name":"jery","age":19}],"student87":[{"name":"张三","age":23},{"name":"李四","age":24}]}
  		var students =json2.students;
	  for(var students in json4){
  		for(var student in json4[students]){
  			for(var key in json4[students][student]){
  				alert(key+"..."+json4[students][student][key])
  			}
  		}
  	}
  }
</script>
</head>
<body>

	<input type="button" value="ajax" onclick="ajax()">
</body>
</html>